//
//  LevelManager.h
//  BoxupPuzzle
//
//  Created by Nguyen Van Tien on 8/24/13.
//
//

#ifndef __BoxupPuzzle__LevelManager__
#define __BoxupPuzzle__LevelManager__

//TODO: dynamic level list
#define MAX_LEVEL_COUNT 20

#include <iostream>
#include "cocos2d.h"

using namespace cocos2d;
class LevelData;

class LevelManager {
    //LevelData* m_LevelList[MAX_LEVEL_COUNT];
    CCArray* m_LevelList;
    LevelManager();
    ~LevelManager();
public:
    static LevelManager* GetInstance();
    void LoadLevel();
    LevelData* GetLevel(int iLevelIndex);
};

#endif /* defined(__BoxupPuzzle__LevelManager__) */
